package com.yida.wy.config.domain.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @Description 公维金政策修改发布状态参数
 * @Author wws
 * @Date 2023-05-30
 */
public class WyPolicyNoticeChangeStatusRequest {

    @ApiModelProperty("主键")
    @NotNull(message = "主键不能为空")
    private Long id;
    @ApiModelProperty("发布状态（0:未发布;1:已发布）")
    @NotBlank(message = "发布状态不能为空")
    private String status;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("GwjPolicyNoticeChangeStatusRequest{");
        sb.append("id=").append(id);
        sb.append(", status='").append(status).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
